home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 4775 / 4775.xpi / chrome / autofillforms.jar / content / autofillFormsRuleEditor.xul < prev    next >
Extensible Markup Language  |  2008-06-10  |  2KB  |  41 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://autofillForms/skin/autofillFormsRuleEditor.css" type="text/css"?>
  3. <!DOCTYPE overlay SYSTEM "chrome://autofillForms/locale/autofillForms.dtd">
  4. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  5.     id="autofillFormsRuleEditor"
  6.     title="&ruleeditor.title;"
  7.     buttons="accept,cancel,help"
  8.     ondialogaccept="autofillForms.ruleEditorSave();"
  9.     ondialogcancel="return true;"
  10.     ondialoghelp="autofillForms.openHelp('Rule Editor');"
  11.     persist="screenX screenY width height sizemode"
  12.     width="370"
  13.     height="370">
  14.     <vbox flex="1">
  15.         <label>&ruleeditorinfo.label;</label>
  16.         <separator class="thin"/>
  17.         <label control="ruleElementsList" >&ruleeditorcondition.label;</label>
  18.         <separator class="thin"/>
  19.         <richlistbox id="ruleElementsList" flex="1" onkeypress="autofillForms.ruleEditorHandleKeyPress(event)"/>
  20.         <separator class="thin"/>
  21.         <hbox>
  22.             <button id="buttonAddRuleElement" label="&add.label;" accesskey="&add.accesskey;" oncommand="autofillForms.ruleEditorAdd(null, null);"/>
  23.             <button id="buttonRemoveRuleElement" label="&remove.label;" accesskey="&remove.accesskey;" oncommand="autofillForms.ruleEditorRemove(null);"/>
  24.         </hbox>
  25.     </vbox>
  26.     <separator class="thin"/>
  27.     <script
  28.         type="application/x-javascript"
  29.         src="chrome://autofillForms/content/autofillForms.js"
  30.     />
  31.     <script
  32.         type="application/x-javascript"
  33.         src="chrome://autofillForms/content/autofillFormsRuleEditor.js"
  34.     />
  35.     <stringbundleset id="stringbundleset">
  36.         <stringbundle
  37.             id="autofillFormsStringBundle"
  38.             src="chrome://autofillForms/locale/autofillForms.properties"
  39.         />
  40.     </stringbundleset>
  41. </dialog>